/*import java.util.Arrays;
import java.util.Date;
import java.util.*;
import java.sql.*;*/
import static java.lang.Math.*;

public class ArrayTransformer {
    public static void transformer(int[] arr){
        for (int i = 0; i < arr.length; i++) {
            arr[i] = arr[i] * 2;
        }
    }


    public static void main(String[] args) {
        int[] array = {1,2,3};
        transformer(array);

        System.out.print("加倍完毕:");
        for (int x:array) {
            System.out.print(x + " ");
        }
    }
}
